<script setup lang="ts">
import { RouterLink, RouterView } from 'vue-router'
import HelloWorld from './components/HelloWorld.vue'
</script>

<template>
  
  <RouterLink to="/">首页</RouterLink>
  <RouterLink to="/about">关于</RouterLink>
  <RouterLink to="/news">作业</RouterLink>
  <RouterView />
</template>

<style scoped>
a{
  margin-right: 20px;
}
</style>
